package com.aiwiown.face.domain.pc;

import com.aiwiown.face.ApiObject;
import com.aiwiown.face.internal.mapping.ApiField;

/**
 * <pre>
 * 活体检测结果；如果用户中途中断了活体流程，则此字段不返回。
 * </pre>
 * LivenessResult
 * Date: 2020/5/12 0026
 * Time: 11:11
 *
 * @author tang.xiaosheng@qq.com
 */
public class LivenessResult extends ApiObject {
    private static final long serialVersionUID = 3053488765083729261L;

    /**
     * 活体日志；
     */
    @ApiField("log")
    private String log;

    /**
     * 活体版本；
     */
    @ApiField("version")
    private String version;

    /**
     * 成功或失败；
     */
    @ApiField("result")
    private String result;

    /**
     * 活体失败的原因，如果成功则为null
     */
    @ApiField("failure_reason")
    private String failureReason;

    @ApiField("datetime")
    private String datetime;

    public String getLog() {
        return log;
    }

    public void setLog(String log) {
        this.log = log;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public String getFailureReason() {
        return failureReason;
    }

    public void setFailureReason(String failureReason) {
        this.failureReason = failureReason;
    }

    public String getDatetime() {
        return datetime;
    }

    public void setDatetime(String datetime) {
        this.datetime = datetime;
    }
}
